home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1995 October / EnigmA AMIGA RUN 01 (1995)(G.R. Edizioni)(IT)[!][issue 1995-10][Aminet 7].iso / Aminet / util / wb / DosMan121.lha / man / Alias < prev    next >
Text File  |  1995-05-05  |  1KB  |  41 lines

  1.             
  2.             Alias (1.x,2.x,3.x Internal Command)
  3.  
  4.     NAME
  5.             Alias - Create short names for longer command 
  6.         strings.
  7.  
  8.     SYNOPSIS
  9.         Alias [alias [string] ]
  10.  
  11.     DESCRIPTION
  12.             This command lets you make short names (aliases) for 
  13.         longer command strings. When a word is typed on the CLI, 
  14.         AmigaDOS will subsitute a longer string for it. This 
  15.         longer string may also contain arguments as well as 
  16.         commands. It can also display a list of alias 
  17.         assignments.
  18.  
  19.             For an alias to become global it MUST be entered in 
  20.         the s:shell-startup script. Otherwise, it can only be 
  21.         used by the shell that created it or through the NewCLI 
  22.         command called from the same shell it was created.
  23.  
  24.     EXAMPLES
  25.  
  26.             1. To shorten the Delete command to DL
  27.  
  28.             Alias DL Delete
  29.  
  30.             2. To copy df0: to df1: using cop
  31.  
  32.             Alias cop Sys:System/Diskcopy df0: to df1:
  33.  
  34.             3. To copy an entire directory (empty or not)
  35.  
  36.             Alias cp copy [] ALL
  37.             (When you type  cp directory 
  38.                 it gets expanded to:
  39.                  copy directory All
  40.  
  41.